delete from dbo.stdtabelasvar where tabela = 'TDU_TiposServico';
delete from dbo.stdcamposvar where tabela = 'TDU_TiposServico';
insert into dbo.stdtabelasvar values('TDU_TiposServico', 'ERP');
insert into dbo.stdcamposvar (tabela, campo, descricao, texto, visivel, ordem) values('TDU_TiposServico', 'CDU_Codigo', 'Codigo', 'Codigo', 1, 1);
insert into dbo.stdcamposvar (tabela, campo, descricao, texto, visivel, ordem) values('TDU_TiposServico', 'CDU_Descricao', 'Descricao', 'Descricao', 1, 2);
go

CREATE TABLE [dbo].[TDU_TiposServico](
	CDU_Codigo [nvarchar](50) NOT NULL,
	CDU_Descricao [nvarchar](150) NULL,
 CONSTRAINT [PK_TDU_TiposServicos] PRIMARY KEY CLUSTERED 
(
	[CDU_Codigo] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO


